package cn.hr.dao.mapper;

import cn.hr.base.BaseMapper;
import cn.hr.pojo.Dictionary;
import org.apache.ibatis.annotations.Param;

import java.sql.SQLException;
import java.util.List;

/**
 * 数据字典DAO接口
 * @author MO
 *
 */
public interface DictionaryMapper extends BaseMapper<Dictionary>  {


    List<Dictionary> selectAllByTypeName(@Param("typeName")String typeName)throws SQLException;

    Dictionary getByType(@Param("type")String type,@Param("val") Integer val) throws SQLException;


}
